﻿namespace MyTRCP.Common.MyProtocol
{
    public class LcpReqInfo
    {
        public Guid SessionId { get; private set; }
        public LinkControlCmdEnum Cmd { get; private set; }
        public LinkControlResponsePayload? RespPayload { get; set; }
        public AutoResetEvent RespReachedEvent { get; private set; }
        public LcpReqInfo(Guid sessionId, LinkControlCmdEnum cmd, AutoResetEvent respReachedEvent)
        {
            SessionId = sessionId;
            Cmd = cmd;
            RespReachedEvent = respReachedEvent;
        }
    }
}
